Make sure your gdb
has python support.
pip install git+https://github.com/bnahill/PyCortexMDebug.git
Add to your project .gdbinit
:
python
from cmdebug.svd_gdb import LoadSVD
LoadSVD()
end
svd_load path_to_board.svd
Add to your ~/.gdbinit
# safe paths
add-auto-load-safe-path /path/to/project/.gdbinit
.gdbinit
might not load.